<!-- Start Notifications -->
<?php if(count($messages) > 0):?>
<?php foreach($messages as $type => $msgs): ?>
    <div class="notification <?php echo $type; ?> png_bg">
	<?php foreach ($msgs as $msg) :?>
	
        <p><?php echo $msg; ?></p>
	
	<?php endforeach;?>
    </div>	
<?php endforeach;?>
<?php endif;?>
<!-- End Notifications -->